package com.jmxcfc.blfsc.huisheng.feign;


import com.alibaba.fastjson.JSONObject;
import com.jmxcfc.fs.common.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 短信 Openfeign 客户端服务
 * 定义通用的接口
 * @author pbs
 */
@FeignClient(name = "blfs-sms", path = "/sms/receive/")
public interface ISmsClientService {

    /**
     * 短信结果异步通知
     * @param request
     * @return
     */
    @PostMapping("/result/notify")
    Result<Object> receiveNotify(@RequestBody JSONObject request);
}
